﻿using MediatR;
using ReturnValue;

namespace MES.Server.API.Application.Command.Account
{
    /// <summary>
    /// 修改账号信息
    /// </summary>
    public class AccountUpdateCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string AccountName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string AccountPwd { get; set; } = "123";//默认密码
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }

        /// <summary>
        ///联系方式 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string Addr { get; set; }

        /// <summary>
        /// 简介
        /// </summary>
        public string Info { get; set; }
    }
}
